﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WorkStation.Common
{
    public class ExchangeInfoWithHost
    {
        public string CallBack { get; set; } = "";
        public string Parameters { get; set; } = "";
    }

    public class ReceviceInfoFromHost
    {
        public string TesterID { get; set; } = "";
        public int stimpadCount1 { get; set; } = 0;
        public int stimpadCount2 { get; set; } = 0;
        public string tester_version { get; set; } = "";
        public UInt32 programErrorcode { get; set; } = 0;
        public uint loadstep { get; set; } = 255;
        public int error_code { get; set; } = -1;
        public uint unloadstep { get; set; } = 255;
        public string errorMsg { get; set; } = "";
        public string dut1SN { get; set; } = "";
        public string dut2SN { get; set; } = "";
        public int dut1TestResult { get; set; } = -1;
        public int dut2TestResult { get; set; } = -1;
        public uint full_sites { get; set; } = 0;
        public uint test_sites { get; set; } = 0;
        public uint load_sites { get; set; } = 0;
        public uint unload_sites { get; set; } = 0;
    }

    public class SendInfoToHost
    {
        public string TesterID { get; set; } = "";
        public string dut1SN { get; set; } = "";
        public string dut2SN { get; set; } = "";
        public string lotInfo { get; set; } = "";
        public bool dut1Enable { get; set; } = false;
        public bool dut2Enable { get; set; } = false;
        public uint loadstep { get; set; } = 255;
        public uint errorCode { get; set; } = 255;
        public string errorMsg { get; set; } = "";
        public UInt32 ProgramErrorCode { get; set; } = 0;
        public uint full_sites { get; set; } = 0;
        public uint test_sites { get; set; } = 0;
        public uint load_sites { get; set; } = 0;
        public uint unload_sites { get; set; } = 0;
    }
}
